
const state = {
  jdxx:{"id":"621153322DCD419DABF24FC606E244F6","jdmc":"鄂州市"},
  userInfo:{},
  uploadPath: '/file'
}

const mutations = {
  SET_JDXX: (state,jdxx) => {
    state.jdxx = jdxx;
  },
  SET_USERINFO: (state,userInfo) => {
    state.userInfo = userInfo;
  }
}

const actions = {
  setJdxx({ commit }, jdxx){
    commit('SET_JDXX', jdxx)
  },
  setUserInfo({ commit }, userInfo) {
    commit('SET_USERINFO', userInfo)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
